<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="outcommon.jsp"%>
<%
	String vac01 = (String) request.getParameter("vac01");
	request.setAttribute("vac01", vac01);
	String vaa01 = (String) request.getParameter("vaa01");
	request.setAttribute("vaa01", vaa01);
	String bck01 = (String) request.getParameter("bck01");
	request.setAttribute("bck01 ", bck01 );
	String yiyuanId = (String) request.getParameter("yiyuanId");
	request.setAttribute("yiyuanId", yiyuanId);
	String vaa05 = (String) request.getParameter("vaa05");
	request.setAttribute("vaa05", vaa05);
%>
<!DOCTYPE html>
<input id="jysj" type="hidden" value='' />
<input id="jy_jdsj" type="hidden" value='' />
<input id="jc_sj" type="hidden" value='' />
<html>
<head>
<meta charset="UTF-8">
<title>云健康--门诊医生系统</title>
<link rel="stylesheet" type="text/css" href="${ctx}/one/css/outpatient.css?t=20171228" />
<link rel="stylesheet" type="text/css" href="${ctx}/lib/ztree/zTreeStyle/zTreeStyle.css" />
<link rel="stylesheet" type="text/css" href="${ctx}/one/component/dropbox/jquery-drop-box.css?t=201711029">
<link rel="stylesheet" type="text/css" href="${ctx}/theme/theme_blue/main.css" />
</head>
<body>
	<input id="vac01" type="hidden" value="<%=request.getParameter("vac01")%>" />
	<input id="vaa01" type="hidden" value="<%=request.getParameter("vaa01")%>" />
	<input id="yiyuanId" type="hidden" value="<%=request.getParameter("yiyuanId")%>" />
	<input id="bck01" type="hidden" value="<%=request.getParameter("bck01")%>" />
	<input id="vaa05" type="hidden" value="<%=request.getParameter("vaa05")%>" />
	<div id="mid_container">
		<div id="content" style="left:5px;">
			<div style="position: relative; width: 100%; height: 100%;">
				<iv class="tab-pane active" id="advice1">
				<div class="yizhu_content_table" style="width: 100%; position: relative;">
					<div class="main-content-optionBtn">
						<form class="form-inline pull-left">
							<div class="form-group">
								<select class="form-control" onchange="changeAdcive()" id="bdaSearch">
									<option id="">全部医嘱</option>
									<option id="bda011">西、成药</option>
									<option id="bda018">中草药</option>
									<option id="bda01L">检验</option>
									<option id="bda01E">检查</option>
									<option id="bda01S">手术</option>
									<option id="bda01O">其它</option>
								</select>
							</div>
							<div class="checkbox-group">
								</select>
								<label class="checkbox-inline">
									<input type="checkbox" checked="checked" id="vaf10_1" value="">
									新开
								</label>
								<label class="checkbox-inline">
									<input type="checkbox" checked="checked" id="vaf10_8" value="">
									发送
								</label>
								<label class="checkbox-inline">
									<input type="checkbox" checked="checked" id="vaf10_4" value="">
									作废
								</label>
							</div>
						</form>
						<div class="main-content-btnGroup pull-right">
							<button class="btn btn-main" id="newpage" name="xk">
								<span class="glyphicon glyphicon-plus"></span>
								新开
							</button>
							<button class="btn btn-main" onclick="editAdivce(this)" id="bj" name="bj">
								<span class="glyphicon glyphicon-pencil"></span>
								编辑
							</button>
							<button class="btn btn-main" onclick="deleteAdivce()" id="sc" name="sc">
								<span class="glyphicon glyphicon-trash"></span>
								删除
							</button>
							<button class="btn btn-main" onclick="vby1()" id="zf" name="zf">
								<span class="glyphicon glyphicon-alert"></span>
								作废
							</button>
							<button class="btn btn-yellow" onclick="sendAdvice()" id="fasong" name="fasong">
								<span class="glyphicon glyphicon-log-in"></span>
								发送
							</button>
							<div class="btn-group">
								<button class="btn btn-blue print_btn" onclick="printMultipleAdvice();" name="dyyzd">
									<span class="glyphicon glyphicon-print"></span>
									<span>打印</span>
								</button>
								<button class="btn btn-blue print_btn dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" onclick='printCheckedEvent();' name="dyyzd">
									<span class="caret"></span>
								</button>
								<ul class="dropdown-menu dropdown-menu-right">
									<li onclick='print1();'>
										<a href="#">处方打印预览</a>
									</li>
									<li class="print_type" onclick="chosePrintType();">
										<select id="advice_print">
										</select>
									</li>
									<li role="separator" class="divider iswest"></li>
									<li onclick='print11();' class="iswest">
										<a href="#">输液打印预览</a>
									</li>
									<li class="print_type iswest" onclick="chosePrintType();">
										<select id="advice_print_shuye">
										</select>
									</li>
									<li role="separator" class="divider iswest"></li>
									<li onclick='print111();' class="iswest">
										<a href="#">皮试打印预览</a>
									</li>
									<li class="print_type iswest" onclick="chosePrintType();">
										<select id="advice_print_pishi">
										</select>
									</li>
								</ul>
							</div>
							<div class="btn-group">
								<button class="btn btn-blue print_btn" onclick="printCombin();" name="dyyzd">
									<span class="glyphicon glyphicon-print"></span>
									<span>合并</span>
								</button>
								<button class="btn btn-blue print_btn dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" onclick='printConbinChecked();' name="dyyzd">
									<span class="caret"></span>
								</button>
								<ul class="dropdown-menu dropdown-menu-right" id="combin_print_ul">
									<li class="print_to_view">
										<a href="#">处方打印预览</a>
									</li>
									<li class="print_type" onclick="chosePrintType();">
										<select id="advice_print_c">
										</select>
									</li>
								</ul>
							</div>
						</div>
					</div>
					<div class="main-content-table" id="table_list" style="overflow-x: auto; bottom: 0;">
						<div class="main-table-container" id="advice_table"></div>
					</div>
				</div>
				<div class="yizhucontainer patient_operation" id="patient_operation">
					<div class="main-header-nav">
						<ul class="nav nav-underline" role="tablist">
							<li class="active">
								<a href="#jizhu_jijia" data-toggle="tab">医嘱计价内容</a>
							</li>
							<li>
								<a href="#jizhu_fasong" data-toggle="tab">医嘱发送记录</a>
							</li>
							<li>
								<a href="#shoushu_renyuan" data-toggle="tab">手术人员安排</a>
							</li>
							<li>
								<a href="#chufang_zhenduan" data-toggle="tab">处方诊断</a>
							</li>
							<li>
								<a href="#chufang_xingzhi" data-toggle="tab">处方性质</a>
							</li>
							<li>
								<a href="#zhenjin_bianji" data-toggle="tab">诊金项目</a>
							</li>
							<li class="moreCont">
								<div class="btn-group" onclick="yizhuOtherInfo(this);">
									<a class="btn btn-transparent ">
										<span class="more-info-text">展开</span>
										<span class="caret caret-top"></span>
									</a>
								</div>
							</li>
						</ul>
					</div>
					<div class="tab-content yizhujilu_content" id="yizhujilu_content">
						<!--医嘱计价内容-->
						<div class="tab-pane active" id="jizhu_jijia">
							<div class="main-content-table">
								<div class="main-table-container" id="jijia_jq_container">
									<table id="yizhujijiaContent" class="table-change table-responsive table table-hover table-striped table-border"></table>
								</div>
							</div>
						</div>
						<!-- 医嘱发送记录 -->
						<div class="tab-pane" id="jizhu_fasong">
							<div class="main-content-table">
								<div class="main-table-container">
									<table class="table-responsive table table-hover table-striped table-border">
										<thead>
											<tr>
												<td>结账状态</td>
												<td>发送时间</td>
												<td>收费项目</td>
												<!-- <td>发送次数</td> -->
												<td>执行科室</td>
												<td>发送人</td>
												<td>执行状态</td>
												<td>单据号</td>
												<td>条形码</td>
											</tr>
										</thead>
										<tbody id="vaf1Fasongjilu_table"></tbody>
									</table>
								</div>
							</div>
						</div>
						<div class="tab-pane" id="shoushu_renyuan">
							<div class="main-content-table">
								<div class="main-table-container">
									<table class="table-responsive table table-hover table-striped table-border" id="shoushurenyuananpai_table">
										<thead>
											<tr>
												<td>岗位</td>
												<td>编号</td>
												<td>姓名</td>
											</tr>
										</thead>
									</table>
								</div>
							</div>
						</div>
						<div class="tab-pane" id="chufang_zhenduan">
							<div class="main-content-table">
								<div class="main-table-container">
									<table class="table-responsive table table-hover table-striped table-border">
										<thead>
											<tr>
												<td>诊断顺序</td>
												<td>诊断描述</td>
												<td>疑诊</td>
												<td>医嘱单</td>
												<td>操作</td>
											</tr>
										</thead>
										<tbody id="chufangzhenduan_table"></tbody>
									</table>
								</div>
							</div>
						</div>
						<div class="tab-pane" id="chufang_xingzhi">
							<div class="main-content-table">
								<div class="main-table-container">
									<table class=" table-responsive table table-hover table-striped table-border" id="chufangshuxing_table">
										<thead>
											<tr>
												<td>处方性质</td>
												<td>处方分类</td>
												<td>医疗类别</td>
											</tr>
										</thead>
										<tbody></tbody>
									</table>
								</div>
							</div>
						</div>
						<div class="tab-pane" id="zhenjin_bianji">
							<div class="main-content-table" style="bottom: 40px;">
								<div class="main-table-container" id="zhenjin_edit_container">
									<table class=" table-responsive table table-hover table-striped table-border" id="zhenjin_edit_table">
									</table>
								</div>
							</div>
							<div class="main-content-page">
								<div class="page-content" style="padding: 5px;">
									<button type="button" class="btn btn-main" onclick="saveEditZhenjin()" id="saveEditZhenjin">
										<span>保存</span>
									</button>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<!--尾部内容-->
	</div>
	<!--遮盖层-->
	<div id="cover" class="hidden"></div>
	<!-- 打印 -->
	<div id="appletDiv"></div>
	<!-- activeMQ 接受消息的div -->
	<div id="msgDiv"></div>
	<!-- mq -->
	<div id="new_swing_card">
		<div class="modal-body">
			<div class="please-swing-card" id="plase_faKa">
				<span>请刷卡</span>
				<input type="text" id="creditcard" name="creditcard" style="width: 320px !important;">
			</div>
			<div id="error_mess"></div>
		</div>
		<div class="modal-foot">
			<button type="button" class="btn btn-green" onclick="promptFaCard()" id="faka_propnum">输入卡号</button>
			<button type="button" class="btn btn-green">确定</button>
			<button type="button" class="btn btn-white">取消</button>
		</div>
	</div>
	<%--会员发卡结束--%>
	<div id="msgDiv" hidden="true"></div>
	<div id="dropbox"></div>
</body>
<!-- 检查检验报告 -->
<script src="${ctx}/one/component/dropbox/drop-box.js?t=201711029"></script>
<!--下拉框组件  -->
<script src="${ctx}/one/component/dropbox/jquery-drop-box.js?t=201711029"></script>
<script src="${ctx}/one/component/dropbox/jquery-diagnose-smart.js?t=201711029"></script>
<script src="${ctx}/one/js/diagnose_all.js?t=201711029"></script>
<script src="${ctx}/one/js/inspect_record.js?t=20180201"></script>
<script src="${ctx}/one/js/eyeCheckInfo.js?t=20180201"></script>
<script src="${ctx}/one/js/critical_value.js?t=20170929"></script>
<script src="${ctx}/outto/index_out.js?t=20180201"></script>
<script src="${ctx}/one/js/app-index-add.js?t=20180201"></script>
<script src="${ctx}/one/js/adviceOption.js?t=20180122"></script>
<script src="${ctx}/one/js/printIndex.js"></script>
<script src="${ctx}/one/js/guahao.js?t=20180122"></script>
<script src="${ctx}/one/js/ageChange.js?t=20180109"></script>
<script src="${ctx}/one/js/zhenduan.js?t=201711029"></script>
<script src="${ctx}/one/js/printOrder.js"></script>
<script src="${ctx}/one/js/beforeAdvice.js?t=20171217"></script>
<script src="${ctx}/one/js/InfectiousDisease.js?t=20171217"></script>
<!-- remind -->
<script src="${ctx}/one/js/remindAndAudit.js"></script>
<script src="${ctx}/js.base/form_control.js"></script>
<script src="${ctx}/js.base/keydown_control.js?t=201711029"></script>
<script src="${ctx}/lib/ztree/jquery.ztree.core.js"></script>
<script src="${ctx}/lib/ztree/jquery.ztree.exedit.js"></script>
</html>
